<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://10.120.132.243:8081/AIWCF/ServiceExtend.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" />
  <xs:import schemaLocation="http://10.120.132.243:8081/AIWCF/ServiceExtend.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/System" />
  <xs:element name="SysUserAddAIPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="roleCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SysUserAddAIPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SysUserAddAIPageResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SYSUserAddcode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="Sysuser" nillable="true" type="q1:SYS_User" />
        <xs:element minOccurs="0" name="PostCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SYSUserAddcodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SYSUserAddcodeResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SYSUserAddEntity">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="Sysuser" nillable="true" type="q2:SYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SYSUserAddEntityResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SYSUserAddEntityResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SYSUserUpdate">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="Sysuser" nillable="true" type="q3:SYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SYSUserUpdateResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SYSUserUpdateResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SYSUserUpdateSingle">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="Sysuser" nillable="true" type="q4:SYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SYSUserUpdateSingleResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SYSUserUpdateSingleResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SYSUserDel">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SYSUserDelResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SYSUserDelResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDictionaryByCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="DictionaryCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDictionaryByCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetDictionaryByCodeResult" nillable="true" type="q5:BASE_Dictionary" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDictionaryChildByCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="DictionaryCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDictionaryChildByCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetDictionaryChildByCodeResult" nillable="true" type="q6:ArrayOfBASE_Dictionary" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDictionaryChildAllByCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="DictionaryCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDictionaryChildAllByCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetDictionaryChildAllByCodeResult" nillable="true" type="q7:ArrayOfBASE_Dictionary" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDictionaryParentByCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="DictionaryCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDictionaryParentByCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetDictionaryParentByCodeResult" nillable="true" type="q8:ArrayOfBASE_Dictionary" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSysUserChildByOUCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="OUCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSysUserChildByOUCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSysUserChildByOUCodeResult" nillable="true" type="q9:ArrayOfSYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYSUserByOUCodeRoleID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="OUCode" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="RoleID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYSUserByOUCodeRoleIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSYSUserByOUCodeRoleIDResult" nillable="true" type="q10:ArrayOfSYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYSUserByUserID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYSUserByUserIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSYSUserByUserIDResult" nillable="true" type="q11:SYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYSUserByOUCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="OUCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYSUserByOUCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSYSUserByOUCodeResult" nillable="true" type="q12:ArrayOfSYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOrgUnitByOUCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="OUCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOrgUnitByOUCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetOrgUnitByOUCodeResult" nillable="true" type="q13:SYS_OrgUnit" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOrgUnitByOUID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="OUID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOrgUnitByOUIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetOrgUnitByOUIDResult" nillable="true" type="q14:SYS_OrgUnit" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOrgUnitChildtByOUCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="OUCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOrgUnitChildtByOUCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetOrgUnitChildtByOUCodeResult" nillable="true" type="q15:ArrayOfSYS_OrgUnit" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOrgUnitByUserID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOrgUnitByUserIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetOrgUnitByUserIDResult" nillable="true" type="q16:ArrayOfSYS_OrgUnit" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYSFuncByUserID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYSFuncByUserIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSYSFuncByUserIDResult" nillable="true" type="q17:ArrayOfSYS_Func" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSys_UserByRoleID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="RoleID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSys_UserByRoleIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSys_UserByRoleIDResult" nillable="true" type="q18:ArrayOfSYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSys_UserByUKCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="UKCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSys_UserByUKCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSys_UserByUKCodeResult" nillable="true" type="q19:SYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSys_UserByRoleIDPost">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="RoleID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSys_UserByRoleIDPostResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSys_UserByRoleIDPostResult" nillable="true" type="q20:ArrayOfSYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYS_RoleByUserID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYS_RoleByUserIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSYS_RoleByUserIDResult" nillable="true" type="q21:ArrayOfSYS_Role" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYS_RoleByUserIdPost">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSYS_RoleByUserIdPostResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSYS_RoleByUserIdPostResult" nillable="true" type="q22:ArrayOfSYS_Role" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOrgUnitChildtAllByOUCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="OUCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetOrgUnitChildtAllByOUCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetOrgUnitChildtAllByOUCodeResult" nillable="true" type="q23:ArrayOfSYS_OrgUnit" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserByPostId">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="PostCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserByPostIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetUserByPostIdResult" nillable="true" type="q24:ArrayOfSYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserByUserId">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userId" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserByUserIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetUserByUserIdResult" nillable="true" type="q25:ArrayOfSYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserByCodeStatus">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteID" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="domainCode" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="status" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserByCodeStatusResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetUserByCodeStatusResult" nillable="true" type="q26:SYS_User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserByLike">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="depCode" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="strLike" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="strInOUCode" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="startRow" type="xs:int" />
        <xs:element minOccurs="0" name="rows" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserByLikeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="GetUserByLikeResult" nillable="true" type="q27:TupleOfArrayOfSYS_Userlong3O6_SbVuE" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetParentByOUID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteCode" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="ouid" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetParentByOUIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetParentByOUIDResult" nillable="true" type="q28:SYS_OrgUnit" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSiteAll">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSiteAllResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetSiteAllResult" nillable="true" type="q29:ArrayOfSYS_Site" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetFuncBySiteCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="siteCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetFuncBySiteCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q30="http://schemas.datacontract.org/2004/07/cppei.CodeAI.Entities" minOccurs="0" name="GetFuncBySiteCodeResult" nillable="true" type="q30:ArrayOfSYS_Func" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>